docs: Clarify the behaviour of gdk_texture_new_for_surface()
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Sep 2023 11:57:52 +0000 (12:57 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 28 Sep 2023 00:42:45 +0000 (20:42 -0400)
commit6938d5aff2c17950337810732bd5079dc6c3c7ed
tree9761e8faa9cbe36e3c0d9e8957545d3d95ed5aa2
parent17c979caf1223d2785b68358ab45fe3cc748bb65
docs: Clarify the behaviour of gdk_texture_new_for_surface()

Cairo surfaces are not GObject instances, so we should be more explicit
in the behaviour of the memory management, to avoid leaks.
gdk/gdktexture.c